package com.itheima.dao.impl;

import com.itheima.dao.BookDao;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;
@Component
//@Primary    // 提高优先级，加载时优先加载
public class BookDaoImpl implements BookDao {

    public void save() {
        System.out.println("book dao running...1");
    }
}
